﻿<controls:ChildWindow x:Class="SBPweb.PROvibe.Modules.Client.Communication.Xmpp.Controls.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:forge="clr-namespace:SBPweb.Forge.Controls.Silverlight;assembly=SBPweb.Forge.Controls.Silverlight"
    Width="360">
    <Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition />
			<ColumnDefinition Width="Auto" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<TextBlock Grid.Column="0" Grid.Row="0" Text="Username:" VerticalAlignment="Center" Margin="5,5,5,5" />
		<TextBlock Grid.Column="0" Grid.Row="1" Text="Password:" VerticalAlignment="Center" Margin="5,5,5,5" />
    	<TextBox x:Name="tbUserName" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" />
    	<PasswordBox x:Name="pbPassword" Grid.Column="1" Grid.Row="1" Margin="5,5,5,5" />
		<TextBlock Grid.Row="2" VerticalAlignment="Center" Margin="5,5,5,5" Text="Remember credentials?" TextWrapping="Wrap" Grid.Column="1" />
		<CheckBox x:Name="cbRemember" Grid.ColumnSpan="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5,5,5,5" />
		<forge:ToolBarItem x:Name="tbiLogin" Grid.Column="2" Grid.RowSpan="2" VerticalAlignment="Center" Margin="5,5,5,5" Width="48" Height="48" ImageSource="/Images/Login_48x48.png" Cursor="Hand" MouseLeftButtonUp="tbiLogin_MouseLeftButtonUp" />
    </Grid>
</controls:ChildWindow>